package com.yxxmg.mybatisplussample.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yxxmg.mybatisplussample.api.TeacherService;
import com.yxxmg.mybatisplussample.domain.Teacher;
import com.yxxmg.mybatisplussample.mapper.TeacherMapper;

/**
 * @author : yxxmg
 * @version : 1.0
 * @description :
 * @since : 2024/11/29
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
    @Override
    public List<Teacher> queryAll() {
        return this.baseMapper.queryAll();
    }
}
